Cypress Semiconductor /psoc63 /SAR /INJ_CHAN_CONFIG

Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text

Interpret as INJ_CHAN_CONFIG

31 2827 2423 2019 1615 1211 87 43 0 0 0 0 0 0 0 0 00 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0INJ_PIN_ADDR 0 (SARMUX)INJ_PORT_ADDR 0 (INJ_DIFFERENTIAL_EN)INJ_DIFFERENTIAL_EN 0 (INJ_AVG_EN)INJ_AVG_EN 0INJ_SAMPLE_TIME_SEL 0 (INJ_TAILGATING)INJ_TAILGATING 0 (INJ_START_EN)INJ_START_EN

INJ_PORT_ADDR=SARMUX

Description

Injection channel configuration register.

Fields

INJ_PIN_ADDR

Address of the pin to be sampled by this injection channel. If differential is enabled then INJ_PIN_ADDR[0] is ignored and considered to be 0, i.e. INJ_PIN_ADDR points to the even pin of a pin pair.

INJ_PORT_ADDR

Address of the port that contains the pin to be sampled by this channel.

0 (SARMUX): SARMUX pins.

1 (CTB0): CTB0

2 (CTB1): CTB1

3 (CTB2): CTB2

4 (CTB3): CTB3

6 (AROUTE_VIRT): AROUTE virtual port

7 (SARMUX_VIRT): SARMUX virtual port

INJ_DIFFERENTIAL_EN

Differential enable for this channel.

  • 0: The voltage on the addressed pin is measured (Single-ended) and the resulting value is stored in the corresponding data register.
  • 1: The differential voltage on the addressed pin pair is measured and the resulting value is stored in the corresponding data register. (INJ_PIN_ADDR[0] is ignored).
INJ_AVG_EN

Averaging enable for this channel. If set the AVG_CNT and AVG_SHIFT settings are used for sampling the addressed pin(s)

INJ_SAMPLE_TIME_SEL

Injection sample time select: select which of the 4 global sample times to use for this channel

INJ_TAILGATING

Injection channel tailgating.

  • 0: no tailgating for this channel, SAR is immediately triggered when the INJ_START_EN bit is set.
  • 1: injection channel tailgating. The addressed pin is sampled after the next trigger and after all enabled channels have been scanned.
INJ_START_EN

Set by firmware to enable the injection channel. If INJ_TAILGATING is not set this bit also functions as trigger for this channel. Cleared by hardware after this channel has been sampled (i.e. this channel is always one shot even if CONTINUOUS is set). Also cleared if the SAR is disabled.

Links

() ()